package com.logos.cartoon.converter;

import com.logos.cartoon.entity.CharacterInfo;
import com.logos.cartoon.req.CharacterInfoReq;
import com.logos.cartoon.resp.CharacterInfoResp;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface CharacterInfoConverter {

    CharacterInfoConverter INSTANCE = Mappers.getMapper(CharacterInfoConverter.class);


    CharacterInfoResp convertEntityToResp(CharacterInfo characterInfo);

    CharacterInfo convertReqToEntity(CharacterInfoReq characterInfoReq);
}